package com.vivien.example.springbootdemo.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Claimreport {
    @TableId(type = IdType.AUTO)
    private Integer claimid;
    private String policyid;
    //事故信息
    private String accidentlocation;
    private String accidentdescription;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",locale = "zh",timezone = "GMT+8")
    private LocalDateTime accidenttime;
    //申请人信息
    private String applicantname;
    private String applicantnumber;
    private String applicantemail;

    private String claimstatus;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",locale = "zh",timezone = "GMT+8")
    private LocalDateTime submittime;
}
